//
//  WHAFHTTPRequest.h
//  Restaurant
//
//  Created by wanghuan on 15/4/27.
//  Copyright (c) 2015年 wanghuan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking/AFNetworking.h"

typedef void (^SuccessBlock)(id obj);
typedef void (^FailedBlock)(NSString *error);
@interface WHAFHTTPRequest : NSObject {

    AFHTTPRequestOperationManager *_manager;
}

@property (strong, nonatomic)SuccessBlock Sblock;
@property (strong, nonatomic)FailedBlock Fblock;

- (void)createWHAFHttpRequestUrl:(NSString *)PathUrl;

@end
